<?php

namespace App\Console\Commands\Tasks;
use App\Http\Controllers\Common\TaskController;
use Illuminate\Console\Command;

class PushThemeJoinUserNumberCommand extends Command
{
    //命令名
    protected $signature = 'task:push-theme-join-user-number';

    //命令描述:向客户端推送当前参与话题的人数
    protected $description = 'push theme join user number';

    public function __construct()
    {
        parent::__construct();
    }

    //业务处理
    public function handle()
    {
        (new TaskController())->pushThemeJoinUserNumber($this);
    }

}
